/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.aliyuncs.sas.model.v20181203;

import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.sas.transform.v20181203.DescribeVulCheckTaskStatusDetailResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
 * @author auto create
 * @version 
 */
public class DescribeVulCheckTaskStatusDetailResponse extends AcsResponse {

	private Integer totalCount;

	private String requestId;

	private List<TaskStatus> taskStatuses;

	public Integer getTotalCount() {
		return this.totalCount;
	}

	public void setTotalCount(Integer totalCount) {
		this.totalCount = totalCount;
	}

	public String getRequestId() {
		return this.requestId;
	}

	public void setRequestId(String requestId) {
		this.requestId = requestId;
	}

	public List<TaskStatus> getTaskStatuses() {
		return this.taskStatuses;
	}

	public void setTaskStatuses(List<TaskStatus> taskStatuses) {
		this.taskStatuses = taskStatuses;
	}

	public static class TaskStatus {

		private String taskId;

		private List<StatusItem> taskStatusList;

		public String getTaskId() {
			return this.taskId;
		}

		public void setTaskId(String taskId) {
			this.taskId = taskId;
		}

		public List<StatusItem> getTaskStatusList() {
			return this.taskStatusList;
		}

		public void setTaskStatusList(List<StatusItem> taskStatusList) {
			this.taskStatusList = taskStatusList;
		}

		public static class StatusItem {

			private String type;

			private String status;

			private String code;

			public String getType() {
				return this.type;
			}

			public void setType(String type) {
				this.type = type;
			}

			public String getStatus() {
				return this.status;
			}

			public void setStatus(String status) {
				this.status = status;
			}

			public String getCode() {
				return this.code;
			}

			public void setCode(String code) {
				this.code = code;
			}
		}
	}

	@Override
	public DescribeVulCheckTaskStatusDetailResponse getInstance(UnmarshallerContext context) {
		return	DescribeVulCheckTaskStatusDetailResponseUnmarshaller.unmarshall(this, context);
	}

	@Override
	public boolean checkShowJsonItemName() {
		return false;
	}
}
